<template>
  <div>
    <!--未督办事件-->
    <template>
      <div @click="unsupervisedDetail(item)">
        <p class="gb-card-info">
          <span class="gb-card-info__label">事件来源</span>
          <span class="gb-card-info__value">{{ item.eventOriginName }}</span>
        </p>
        <p class="gb-card-info">
          <span class="gb-card-info__label">上报时间</span>
          <span class="gb-card-info__value">{{ item.reportTime }}</span>
        </p>
        <p class="gb-card-info">
          <span class="gb-card-info__label">事件名称</span>
          <span class="gb-card-info__value">{{ item.eventName }}</span>
        </p>
        <p class="gb-card-info">
          <span class="gb-card-info__label">事件地点</span>
          <span class="gb-card-info__value">{{ item.eventLocation }}</span>
        </p>
      </div>
    </template>
  </div>
</template>
<script>
export default {
  props: {
    item: {
      type: Object,
      default: () => {
        return {}
      }
    },
    // 数据类型
    baseType: {
      type: String
    },
    // 查询详情类型
    queryType: {
      type: String
    },
    // 区分更新和审核（Approve-collection：-分隔，前面区分接口，后面区分路由）
    type: {
      type: String
    }
  },
  data() {
    return {
      new_Positions: []
    }
  },
  created() {
    console.log(this.item)
  },
  methods: {
    unsupervisedDetail(item) {
      this.$router.push({
        path: '/cockpit/eventOverview/detail',
        query: {
          eventCode: item.eventCode
        }
      })
    }
  }
}
</script>
<style scoped lang="less"></style>
